package com.ecoolex.ying.space.entity;

import com.ecoolex.framework.common.annotation.Description;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.springframework.lang.NonNull;

public class EstateProjectActivityGoodsOrderCustomerExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer offset;

    protected Integer rows;

    public EstateProjectActivityGoodsOrderCustomerExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public EstateProjectActivityGoodsOrderCustomerExample orderBy(String orderByClause) {
        this.setOrderByClause(orderByClause);
        return this;
    }

    public EstateProjectActivityGoodsOrderCustomerExample orderBy(String ... orderByClauses) {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < orderByClauses.length; i++) {
            sb.append(orderByClauses[i]);
            if (i < orderByClauses.length - 1) {
                sb.append(" , ");
            }
        }
        this.setOrderByClause(sb.toString());
        return this;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria(this);
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
        rows = null;
        offset = null;
    }

    public static Criteria newAndCreateCriteria() {
        EstateProjectActivityGoodsOrderCustomerExample example = new EstateProjectActivityGoodsOrderCustomerExample();
        return example.createCriteria();
    }

    public EstateProjectActivityGoodsOrderCustomerExample when(boolean condition, IExampleWhen then) {
        if (condition) {
            then.example(this);
        }
        return this;
    }

    public EstateProjectActivityGoodsOrderCustomerExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
        if (condition) {
            then.example(this);
        } else {
            otherwise.example(this);
        }
        return this;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return this.offset;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public Integer getRows() {
        return this.rows;
    }

    public EstateProjectActivityGoodsOrderCustomerExample limit(Integer rows) {
        this.rows = rows;
        return this;
    }

    public EstateProjectActivityGoodsOrderCustomerExample limit(Integer offset, Integer rows) {
        this.offset = offset;
        this.rows = rows;
        return this;
    }

    public EstateProjectActivityGoodsOrderCustomerExample page(Integer page, Integer pageSize) {
        this.offset = page * pageSize;
        this.rows = pageSize;
        return this;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("estateprojectactivitygoodsordercustomer.Id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("estateprojectactivitygoodsordercustomer.Id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsordercustomer.Id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.Id = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsordercustomer.Id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.Id <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("estateprojectactivitygoodsordercustomer.Id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.Id > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsordercustomer.Id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.Id >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("estateprojectactivitygoodsordercustomer.Id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.Id < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsordercustomer.Id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.Id <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodsordercustomer.Id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodsordercustomer.Id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodsordercustomer.Id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodsordercustomer.Id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNull() {
            addCriterion("estateprojectactivitygoodsordercustomer.OrderId is null");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNotNull() {
            addCriterion("estateprojectactivitygoodsordercustomer.OrderId is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsordercustomer.OrderId =", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.OrderId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsordercustomer.OrderId <>", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.OrderId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThan(Integer value) {
            addCriterion("estateprojectactivitygoodsordercustomer.OrderId >", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.OrderId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsordercustomer.OrderId >=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.OrderId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThan(Integer value) {
            addCriterion("estateprojectactivitygoodsordercustomer.OrderId <", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.OrderId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsordercustomer.OrderId <=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.OrderId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderIdIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodsordercustomer.OrderId in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodsordercustomer.OrderId not in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodsordercustomer.OrderId between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodsordercustomer.OrderId not between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("estateprojectactivitygoodsordercustomer.`Name` is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("estateprojectactivitygoodsordercustomer.`Name` is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.`Name` =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.`Name` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.`Name` <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.`Name` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.`Name` >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.`Name` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.`Name` >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.`Name` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.`Name` <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.`Name` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.`Name` <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.`Name` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.`Name` like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.`Name` not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsordercustomer.`Name` in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsordercustomer.`Name` not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsordercustomer.`Name` between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsordercustomer.`Name` not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNull() {
            addCriterion("estateprojectactivitygoodsordercustomer.Phone is null");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNotNull() {
            addCriterion("estateprojectactivitygoodsordercustomer.Phone is not null");
            return (Criteria) this;
        }

        public Criteria andPhoneEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.Phone =", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.Phone = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPhoneNotEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.Phone <>", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.Phone <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThan(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.Phone >", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThanColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.Phone > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.Phone >=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.Phone >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPhoneLessThan(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.Phone <", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThanColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.Phone < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPhoneLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.Phone <=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThanOrEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.Phone <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPhoneLike(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.Phone like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotLike(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.Phone not like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsordercustomer.Phone in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsordercustomer.Phone not in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsordercustomer.Phone between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsordercustomer.Phone not between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("estateprojectactivitygoodsordercustomer.Address is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("estateprojectactivitygoodsordercustomer.Address is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.Address =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.Address = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.Address <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.Address <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.Address >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.Address > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.Address >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.Address >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.Address <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.Address < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.Address <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.Address <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.Address like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.Address not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsordercustomer.Address in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsordercustomer.Address not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsordercustomer.Address between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsordercustomer.Address not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("estateprojectactivitygoodsordercustomer.Remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("estateprojectactivitygoodsordercustomer.Remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.Remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.Remark = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.Remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.Remark <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.Remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.Remark > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.Remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.Remark >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.Remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.Remark < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.Remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.Remark <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.Remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.Remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsordercustomer.Remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsordercustomer.Remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsordercustomer.Remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsordercustomer.Remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNull() {
            addCriterion("estateprojectactivitygoodsordercustomer.Deleted is null");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNotNull() {
            addCriterion("estateprojectactivitygoodsordercustomer.Deleted is not null");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualTo(Boolean value) {
            addCriterion("estateprojectactivitygoodsordercustomer.Deleted =", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.Deleted = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualTo(Boolean value) {
            addCriterion("estateprojectactivitygoodsordercustomer.Deleted <>", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.Deleted <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThan(Boolean value) {
            addCriterion("estateprojectactivitygoodsordercustomer.Deleted >", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.Deleted > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("estateprojectactivitygoodsordercustomer.Deleted >=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.Deleted >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThan(Boolean value) {
            addCriterion("estateprojectactivitygoodsordercustomer.Deleted <", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.Deleted < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
            addCriterion("estateprojectactivitygoodsordercustomer.Deleted <=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.Deleted <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedIn(List<Boolean> values) {
            addCriterion("estateprojectactivitygoodsordercustomer.Deleted in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotIn(List<Boolean> values) {
            addCriterion("estateprojectactivitygoodsordercustomer.Deleted not in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedBetween(Boolean value1, Boolean value2) {
            addCriterion("estateprojectactivitygoodsordercustomer.Deleted between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("estateprojectactivitygoodsordercustomer.Deleted not between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("estateprojectactivitygoodsordercustomer.`CreateUser` is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("estateprojectactivitygoodsordercustomer.`CreateUser` is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.`CreateUser` =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.`CreateUser` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.`CreateUser` <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.`CreateUser` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.`CreateUser` >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.`CreateUser` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.`CreateUser` >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.`CreateUser` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.`CreateUser` <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.`CreateUser` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.`CreateUser` <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.`CreateUser` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.`CreateUser` like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.`CreateUser` not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsordercustomer.`CreateUser` in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsordercustomer.`CreateUser` not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsordercustomer.`CreateUser` between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsordercustomer.`CreateUser` not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("estateprojectactivitygoodsordercustomer.CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("estateprojectactivitygoodsordercustomer.CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodsordercustomer.CreateTime =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.CreateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodsordercustomer.CreateTime <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.CreateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("estateprojectactivitygoodsordercustomer.CreateTime >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.CreateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodsordercustomer.CreateTime >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.CreateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("estateprojectactivitygoodsordercustomer.CreateTime <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.CreateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodsordercustomer.CreateTime <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.CreateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("estateprojectactivitygoodsordercustomer.CreateTime in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("estateprojectactivitygoodsordercustomer.CreateTime not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("estateprojectactivitygoodsordercustomer.CreateTime between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("estateprojectactivitygoodsordercustomer.CreateTime not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("estateprojectactivitygoodsordercustomer.UpdateUser is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("estateprojectactivitygoodsordercustomer.UpdateUser is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.UpdateUser =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.UpdateUser = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.UpdateUser <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.UpdateUser <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.UpdateUser >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.UpdateUser > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.UpdateUser >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.UpdateUser >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.UpdateUser <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.UpdateUser < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.UpdateUser <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.UpdateUser <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLike(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.UpdateUser like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotLike(String value) {
            addCriterion("estateprojectactivitygoodsordercustomer.UpdateUser not like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsordercustomer.UpdateUser in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsordercustomer.UpdateUser not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsordercustomer.UpdateUser between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsordercustomer.UpdateUser not between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("estateprojectactivitygoodsordercustomer.UpdateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("estateprojectactivitygoodsordercustomer.UpdateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodsordercustomer.UpdateTime =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.UpdateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodsordercustomer.UpdateTime <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.UpdateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("estateprojectactivitygoodsordercustomer.UpdateTime >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.UpdateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodsordercustomer.UpdateTime >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.UpdateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("estateprojectactivitygoodsordercustomer.UpdateTime <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.UpdateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodsordercustomer.UpdateTime <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualToColumn(EstateProjectActivityGoodsOrderCustomer.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsordercustomer.UpdateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("estateprojectactivitygoodsordercustomer.UpdateTime in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("estateprojectactivitygoodsordercustomer.UpdateTime not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("estateprojectactivitygoodsordercustomer.UpdateTime between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("estateprojectactivitygoodsordercustomer.UpdateTime not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        private EstateProjectActivityGoodsOrderCustomerExample example;

        protected Criteria(EstateProjectActivityGoodsOrderCustomerExample example) {
            super();
            this.example = example;
        }

        public EstateProjectActivityGoodsOrderCustomerExample example() {
            return this.example;
        }

        @Deprecated
        public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
            if (ifAdd) {
                add.add(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then) {
            if (condition) {
                then.criteria(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
            if (condition) {
                then.criteria(this);
            } else {
                otherwise.criteria(this);
            }
            return this;
        }

        public Criteria andLogicalDeleted(boolean deleted) {
            return deleted ? andDeletedEqualTo(EstateProjectActivityGoodsOrderCustomer.Deleted.IS_DELETED.value()) : andDeletedNotEqualTo(EstateProjectActivityGoodsOrderCustomer.Deleted.IS_DELETED.value());
        }

        @Deprecated
        public interface ICriteriaAdd {
            Criteria add(Criteria add);
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }

    public interface ICriteriaWhen {
        void criteria(Criteria criteria);
    }

    public interface IExampleWhen {
        void example(com.ecoolex.ying.space.entity.EstateProjectActivityGoodsOrderCustomerExample example);
    }
}